<template lang="pug">
.children
  .children-handles
    .children-btn
      .children-btn-bd(@click="add")
        .el-icon-plus
        .children-btn-text 新增样品材料信息
      .children-btn-info 新增样品材料信息
    .children-btn(@click="platMaterial")
      .children-btn-bd
        .el-icon-plus
        .children-btn-text 关联平台材料信息
      .children-btn-info 关联已上架的材料
</template>

<script>
export default {
  name: 'storeroomList',
  methods: {
    add () {
      this.$router.push({ name: 'storageUpload' })
    },
    platMaterial () {
      this.$router.push({ name: 'storageMaterial' })
    }
  },
}
</script>

<style lang="scss" scoped>
.children {
  height: 100%;
}
.children-handles {
  display: flex;
  align-items: center;
}
.children-btn-bd {
  padding: 30px 50px;
  border: 1px solid #c0ccda;
  text-align: center;
  color: #FF2E42;
  font-size: 16px;
  margin-right: 20px;
  cursor: pointer;
}
.children-btn-text {
  margin-top: 10px;
}
.children-btn-info {
  margin-top: 10px;
  color: #999;
  font-size: 12px;
}
</style>